<?php #coding: utf-8 æ ø 

	$element = new individ();
	$element->find_alle_racer();
    $alle_racer = $element->alle_racer;
	print_r($alle_racer);
?>
		<form action="<? echo base_url();?>core/rediger/race/<? echo $stamdata['id']; ?>" method="post">
			<input class="submit" type=submit style="float:right;" value="<? echo 'Ret'; ?>"/>
			<select name="race_id">	
				<?
				foreach($alle_racer as $r)
				{
					$race_navn = $r['navn'];
					$race_id = $r['id'];

					?><option value="<? echo $race_id ;?>"><? echo $race_navn; ?></option><?		
				}
				?>
			</select>

		</form>
		

